package com.commons.util;

import java.util.Collection;

/**
 * 集合工具类
 *
 * @author 李旺林
 * @since 2020-12-27
 */
public class CollectionUtils {

    /**
     * 判断集合是否为空
     * @param collection
     * @return
     */
    public static boolean isNotEmpty(Collection collection){
        return org.apache.commons.collections4.CollectionUtils.isNotEmpty(collection);
    }
}
